package springboot.demo.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.kafka.common.protocol.types.Field;
import springboot.demo.bean.Novel;

public interface NovelService {
	List<Novel> list();

	Page<Novel> pageQuery(Page page);

	Novel getNovelById(int id);

	Novel incrementById(int id) throws Exception;

	Novel testSqlInject(String query);

	Novel testTran(int id) throws Exception;
}
